package com.wanger.model.connect;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: wanger
 * @Date: 2023/8/17 22:08
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_user_role")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("系统用户、角色关联表")
public class SysUserRole {

    @TableField("user_id")
    @ApiModelProperty("用户id")
    private String userId;

    @TableField("role_id")
    @ApiModelProperty("角色id")
    private String roleId;

}
